package com.vhall.component.controller.export.facade;

import com.vhall.component.entity.interactive.vo.QuestionConsoleExportReqVO;
import com.vhall.component.entity.room.vo.RoomAdminListReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * ExportSpecialFacade 导出功能接口-特例实现
 * 抽取的特例接口,将其他组件中实现的输出功能接口抽取过来,考虑对老版本的支持API地址不变
 *
 * @author xing.wang
 * @date 2022/9/1
 */
@FeignClient(value = "ExportSpecialFacade")
public interface ExportSpecialFacade {
    /**
     * 直播间列表
     *
     * @param reqVO
     * @return
     */
    @GetMapping(value = "/v4/room/admin/export-list")
    Boolean listExport(@Validated RoomAdminListReqVO reqVO);

    /**
     * 控制台-导出问卷
     *
     * @param reqVO 参数
     * @return 返回值
     */
    @PostMapping("/v4/question/console/export-question-answer")
    Boolean exportQuestionAnswer(@Validated QuestionConsoleExportReqVO reqVO);

}
